import request from '@/utils/request'


/**
 * 获取用户列表
 * @param params
 * @returns
 */
export const getUserListsApi = (params: any) =>{
  return request.get('/user/user/lists',{params:params})
}

/**
 * 删除用户
 * @param params
 * @returns
 */
export const deleteUserApi = (params: any) =>{
  return request.delete('/user/user/delete',{params:params})
}

/**
 * 更新用户
 * @param params
 * @returns
 */
export const updateUserApi = (params: any) =>{
  return request.put('/user/user/update',params)
}
